package com.fort.teachermanagementsys.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fort.teachermanagementsys.dto.ClassQueryDTO;
import com.fort.teachermanagementsys.entity.ClassY;
import com.fort.teachermanagementsys.request.PageParamRequest;

import java.util.List;

public interface ClassManagementService extends IService<ClassY> {

    Boolean addClass(ClassY c);

    /**
     * 分页查询ClassY列表
     * @param page 分页参数
     * @return 分页结果
     */
    IPage<ClassY> getClassYPage(Page<ClassY> page, ClassQueryDTO query);
}
